<?php
include("connectDB.php");
$sql = mysql_query("select id from dangnhap");
echo '[';
$result = mysql_fetch_array($sql);
echo '"'.$result[0].'"';
while($result = mysql_fetch_array($sql))
{
	echo ',';
	echo '"'.$result[0].'"';
}
echo ']';
?>